_sessionID = _this select 0;
_parameters = _this select 1;

_playerLevel = _parameters select 0;

_playerObject = _sessionID call ExileServer_system_session_getPlayerObject;

if (!isNull _playerObject) then
{
  _playerObject setVariable ["AfterlifeClientLevel", _playerLevel];
};
